CVE-2025-48798
Gimp: multiple use after free in xcf parser
Description
A flaw was found in GIMP when processing XCF image files. If a user opens one of these image files that has been specially crafted by an attacker, GIMP can be tricked into making serious memory errors, potentially leading to crashes and causing use-after-free issues.
INFO
Published Date :
May 27, 2025, 2:15 p.m.
Last Modified :
July 30, 2025, 2:15 p.m.
Remotely Exploit :
No
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2025-48798
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | 
Solution
- Update GIMP to the latest stable version.
- Avoid opening untrusted XCF files.
- Apply vendor patches when available.
Public PoC/Exploit Available at Github
                                            CVE-2025-48798 has a 1 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2025-48798.
                                        
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2025-48798 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2025-48798
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
DSA and DLA for Debian last 14 days
Python
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2025-48798 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2025-48798 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by [email protected]Jul. 30, 2025 Action Type Old Value New Value Added Reference https://gitlab.gnome.org/GNOME/gimp/-/issues/11822 
- 
                            CVE Modified by [email protected]Jun. 25, 2025 Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:9569 
- 
                            CVE Modified by [email protected]Jun. 24, 2025 Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:9501 
- 
                            CVE Modified by [email protected]Jun. 23, 2025 Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:9308 Added Reference https://access.redhat.com/errata/RHSA-2025:9309 Added Reference https://access.redhat.com/errata/RHSA-2025:9310 Added Reference https://access.redhat.com/errata/RHSA-2025:9314 Added Reference https://access.redhat.com/errata/RHSA-2025:9315 Added Reference https://access.redhat.com/errata/RHSA-2025:9316 
- 
                            CVE Modified by [email protected]Jun. 17, 2025 Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:9165 
- 
                            CVE Modified by [email protected]Jun. 17, 2025 Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:9162 
- 
                            New CVE Received by [email protected]May. 27, 2025 Action Type Old Value New Value Added Description A flaw was found in GIMP when processing XCF image files. If a user opens one of these image files that has been specially crafted by an attacker, GIMP can be tricked into making serious memory errors, potentially leading to crashes and causing use-after-free issues. Added CVSS V3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H Added CWE CWE-416 Added Reference https://access.redhat.com/security/cve/CVE-2025-48798 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2368557 
 
                         
                         
                         
                                             
                                            